import instance from '@/utils/axios'

export function getList (params) {
    return instance({
        url: '/classify/list',
        method : 'get',
        params
    })
}

export function addList (data) {
    return instance({
        url: '/classify/addList',
        method : 'post',
        data
    })
}